#ifndef ENEMYFISH_H
#define ENEMYFISH_H
#include "Factory.h"
#include "Math.h"
#include "VisableObject.h"

class PlayerController;

class EnemyFish : public VisableObject
{
private:
	float minDistanceToAttack = 40.0f;
	sf::Vector2f standardPos;
	sf::Clock myTimer;
public:
	PlayerController* player;


	EnemyFish(sf::Vector2f startPos = sf::Vector2f(0, 0), float scale = 1.0f, sf::Vector2f startVel = sf::Vector2f(0, 0), const char* fileName = "images/enemyFishImage.png") : VisableObject(startPos, startVel, fileName, scale, "Enemy")
	{
		isScrolingObject = true;
		isCollidable = false;
		isPhysical = false;
		standardPos = startPos;
	}

	void Update(float deltaTime);
};

#endif // ENEMYFISH_H